<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <base href="{{urlBase}}" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
      {% for i in range(0,(imagenes|length-1)) %}
        <a title="{{imagenes[i].nombre}}" href="index.php/Imagenes/imagen/{{imagenes[i].id}}"><img src="fotos/{{imagenes[i].dir}}/mini/{{imagenes[i].nombre}}" alt="imagen" /></a>
        {%if (i % 3) == 2 %}
            <br>
        {%endif%}
      {% endfor %}
  </body>
</html>